package io.zhengsh.juc._0objects;

import org.openjdk.jol.info.ClassLayout;

public class ObjectTest {

    public static void main(String[] args) {
        User user =new User();
        System.out.println(ClassLayout.parseInstance(user).toPrintable());

        user.setId(10);
        System.out.println(ClassLayout.parseInstance(user).toPrintable());

        user.setName("Mack");
        System.out.println(ClassLayout.parseInstance(user).toPrintable());
    }
}
